DomainObjects Class Library

Collection<ContainerClass,RelatedClass>.GetCopyOfRelatedObjectsLoadedIntoMemoryIncludingDeletedItems Method 

Gets a non-null copy of the set of related objects retrieved from the database, added in memory and removed in memory. Related objects that have been deleted in memory, i.e., where NeedsDelete returns true, will appear in the returned list. It does so without retrieving objects from the database; it only returns what is already in memory.

Note that editing this list will not edit the list of related objects as this method just returns a copy.
public List<T> GetCopyOfRelatedObjectsLoadedIntoMemoryIncludingDeletedItems();

See Also

Collection<ContainerClass,RelatedClass> Class | DomainObjects.Facade.Domain Namespace